<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>后台管理程序</title>
    <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
    <script src="resources/js/lib/sea.js"></script>
    <script type="text/javascript">
        seajs.config({
            base: "${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/resources/"
        });
        seajs.use(["css/admin/main.css", "js/cms.nav.js"]);
    </script>
</head>
<body>
<div id="left">
    <c:if test="${isAdmin }">

    <ul class="navMenu navSelected">
        <h3 class="navTitle">
            <span class="navTilteTxt">用户管理</span>
        </h3>
        <li class="navChild">
            <a href="admin/user/users" target="content">用户信息管理</a>
        </li>
        <li class="navChild">
            <a href="admin/group/groups" target="content">用户组管理</a>
        </li>
        <li class="navChild">
            <a href="admin/role/roles" target="content">用户角色管理</a>
        </li>
    </ul>

    </c:if>
    <ul class="navMenu navSelected">
        <h3 class="navTitle">
            <span class="navTilteTxt">文章管理</span>
        </h3>
        <c:if test="${isAdmin }">
        <li class="navChild">
            <a href="admin/channel/channels" target="content">栏目信息管理</a>
        </li>
        </c:if>
        <li class="navChild">
            <a href="admin/topic/audits" target="content">文章信息管理</a>
        </li>
    </ul>

    <c:if test="${isAdmin }">
    <ul class="navMenu">
        <h3 class="navTitle">
            <span class="navTilteTxt">系统配置</span>
        </h3>
        <li class="navChild">
            <a href="admin/hyperlink/hyperlinks" target="content">超级链接管理</a>
        </li>
        <li class="navChild">
            <a href="admin/webInfo/showWebInfo" target="content">网站信息管理</a>
        </li>
        <li class="navChild">
            <a href="admin/newImgManage/newImgManage" target="content">首页图片管理</a>
        </li>
        <li class="navChild">
            <a href="admin/backup/sqls" target="content">网站数据备份</a>
        </li>
        <li class="navChild">
            <a href="admin/systemClean/articleList" target="content">系统清理管理</a>
        </li>
    </ul>
    </c:if>
</div>
</body>
</html>